package cn.com.headfree.deptuser.service.impl;

import cn.com.headfree.base.entity.TOuterDept;
import cn.com.headfree.deptuser.dao.TOrgDeptDao;
import cn.com.headfree.deptuser.dao.TOuterDeptDao;
import cn.com.headfree.deptuser.service.TOrgDeptService;
import cn.com.headfree.deptuser.service.TOuterDeptService;
import cn.com.headfree.entity.TOrgDept;
import com.gta.edu.sdk.base.service.impl.BaseServiceImpl;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("tOrgDeptService")
public class TOrgDeptServiceImpl implements TOrgDeptService {

	private static final Logger log = LogManager.getLogger(TOrgDeptServiceImpl.class);

	@Autowired
	private TOrgDeptDao tOrgDeptDao;


	@Override
	public List<TOrgDept> findAllByPId() {
		return this.tOrgDeptDao.findAllByPId();
	}

}
